export interface UserListModel {
  avatar: string;
  createTime: string;
  creatorName?: string;
  email: string;
  gender: string;
  id: string;
  name: string;
  username: string;
  homePageId: string;
}

export interface UserListQueryParam {
  email?: string;
  name?: string;
  username?: string;
}

export interface UserSaveModel {
  avatar: string;
  email: string;
  phone: string;
  gender: string;
  name: string;
  username: string;
  position: string[];
  departmentId: string;
}

export interface UserUpdateModel {
  id: string;
  avatar: string;
  email: string;
  gender: string;
  name: string;
  phone: string;
  username: string;
  position: string[];
  departmentId: string;
  revision: string;
}

export interface UserIdModel {
  id: string;
}

export interface UserUpdateRoleModel {
  ids: string[];
  roleIdList: string[];
  homePageId: string;
}

export interface UpdatePasswordModel {
  oldPassword: string;
  newPassword: string;
  reNewPassword: string;
}
